home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
g_man
/
cat3
/
OpenGL-GLC
/
glcgetmaxcharmetric.z
/
glcgetmaxcharmetric
Wrap
Text File
|
1998-10-20
|
4KB
|
67 lines
ggggllllccccGGGGeeeettttMMMMaaaaxxxxCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL CCCChhhhaaaarrrraaaacccctttteeeerrrr RRRReeeennnnddddeeeerrrreeeerrrr ggggllllccccGGGGeeeettttMMMMaaaaxxxxCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc((((3333GGGG))))
NNNNAAAAMMMMEEEE
ggggllllccccGGGGeeeettttMMMMaaaaxxxxCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc - measure layout of characters
CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
GLfloat* ggggllllccccGGGGeeeettttMMMMaaaaxxxxCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc( GLCenum _i_n_M_e_t_r_i_c,
GLfloat *_o_u_t_V_e_c )
PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
_i_n_M_e_t_r_i_c Specifies the metric to measure, either GGGGLLLLCCCC____BBBBAAAASSSSEEEELLLLIIIINNNNEEEE or
GGGGLLLLCCCC____BBBBOOOOUUUUNNNNDDDDSSSS.
_o_u_t_V_e_c Specifies a vector in which to store the value of _o_u_t_V_e_c for
the specified character.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ggggllllccccGGGGeeeettttMMMMaaaaxxxxCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc measures the layout that would result from rendering
all mapped characters at the same origin. This contrasts with
ggggllllccccGGGGeeeettttSSSSttttrrrriiiinnnnggggCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc, which measures characters as part of a string,
that is, influenced by kerning, ligatures, and so on.
The command stores the value of the metric identified by _i_n_M_e_t_r_i_c in
_o_u_t_V_e_c. Currently, you can choose from GGGGLLLLCCCC____BBBBAAAASSSSEEEELLLLIIIINNNNEEEE and GGGGLLLLCCCC____BBBBOOOOUUUUNNNNDDDDSSSS. If
you choose GGGGLLLLCCCC____BBBBOOOOUUUUNNNNDDDDSSSS, the vector returned in _o_u_t_V_e_c starts at the lower
left corner and continues in a counterclockwise direction.
If the command does not raise an error, its return value is _o_u_t_V_e_c.
EEEERRRRRRRROOOORRRRSSSS
GGGGLLLLCCCC____SSSSTTTTAAAATTTTEEEE____EEEERRRRRRRROOOORRRR is generated if the issuing thread has no current GLC
context.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
ggggllllccccGGGGeeeettttCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc, ggggllllccccGGGGeeeettttSSSSttttrrrriiiinnnnggggCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc, ggggllllccccMMMMeeeeaaaassssuuuurrrreeeeCCCCoooouuuunnnntttteeeeddddSSSSttttrrrriiiinnnngggg,
ggggllllccccMMMMeeeeaaaassssuuuurrrreeeeSSSSttttrrrriiiinnnngggg
PPPPaaaaggggeeee 1111